let http = require("http");

http.createServer(function(request,response){
    response.writeHead(301,{
        "Location":"http://www.github.com/"
    });
    response.end()
}).listen(3001)